package com.hwj.mapper;

import com.hwj.entity.Favorite;
import org.apache.ibatis.annotations.Mapper;

/**
* @author Administrator
* @description 针对表【t_favorite】的数据库操作Mapper
* @createDate 2023-12-24 22:29:56
* @Entity com.hwj.entity.Favorite
*/
@Mapper
public interface FavoriteMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Favorite record);

    int insertSelective(Favorite record);

    Favorite selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Favorite record);

    int updateByPrimaryKey(Favorite record);

    Favorite selectUserFavorite(Favorite favorite);
}
